﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="slide.aspx.vb" Inherits="slide" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="css/global.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:Panel ID="pnlControl" runat="server" CssClass="controlBox">
            <h3>Control Box</h3>
            <asp:LinkButton ID="btnPlay" runat="server" />    
             
        </asp:Panel>
        <ajax:AlwaysVisibleControlExtender ID="AlwaysVisibleControlExtender1" runat="server" TargetControlID="pnlControl" UseAnimation="true">
        </ajax:AlwaysVisibleControlExtender>


        
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
        <asp:Image ID="imgSlide" runat="server" ImageUrl="~/img/imgGallery/12.jpg" Height="900px" />
        <ajax:SlideShowExtender ID="SlideShowExtender1" runat="server" TargetControlID="imgSlide" AutoPlay="true" 
                                SlideShowServicePath="~/webservices/slides.asmx" SlideShowServiceMethod="getSlides" PlayInterval="5000" PlayButtonID="btnPlay">
        </ajax:SlideShowExtender>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="btnPlay" EventName="Click" />
            </Triggers>
        </asp:UpdatePanel>
        
        
    
    
    </div>
    </form>
</body>
</html>
